home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Joystick Magazine 1995 July & August
/
cd No4 joystick No62.iso
/
mac
/
pc
/
EMULATOR
/
CPMZ80
/
READ.ME
< prev
next >
Wrap
Text File
|
1992-01-14
|
7KB
|
196 lines
ZSIM is copyrighted
(c) 1990,1991 by
Version 1.2
JÅrgen Weber
Wiesentalstr. 1
W-7170 SchwÑbisch Hall
Federal Republik of Germany
Free for personal use
Send comments to weberj@dia.informatik.uni-stuttgart.de
This email addres is valid at least until Feb. 92.
ZSIM is a Program that simulates a CP/M Z80 machine. It DOES NOT
simulate CP/M. But in the ZSIM package are included a PD CP/M
compatible operating system and a program to format CP/M disks, so you
can run CP/M programs.
WARNING: Don't let CP/M work on an MS-Dos disc as it may be destroyed.
WARNING: Even CP/M discs may be destroyed if they are in a format ZSIM
WARNING: does not recognize.
Use the software at your own risc. There is no warranty for the
program of any kind. The author takes no responsibility for any damage
caused by the program, either direct or indirect, to your hardware or
software. If you can't accept this restriction, please don't use ZSIM.
ZSIM consists of a Z80 emulator part and a CP/M 80 bios for 80x86 PC
compatible machines. The sources of the bios are included. I think
contrary to the CP/M bios a Z80 simulator might be used commercially
still today, so I don't include it's sources. The Z80 emulator is
contained in object form in Z80EMU.OBJ, a version with only the 8080
part of it in 8080EMU.OBJ. The 8080 Version is a few per cent faster,
as it hastn't to look after Z80 intricacies especially the V-Flag.
Don't try to disassemble it, in programming it I vastly used macros,
so the disassembler doesn't show much. But you can buy the sources of
the simulator from me. Anyway I don't think the emulator code can be
improved (show off, show off). Try your skills with the bios.
ZSIM was developed using Borland's TASM/TLINK.
ZSIM is almost wholly written in assembler, only the popup windows and
the parameter editor are written in Modula-2 (using the shareware
FMODULA2 Modula).
In the sources variable and label names are in English, comments are
in German. So if you are interested in some intricacies of the
bios get a German-English dictionary. Sorry.
By the way, excuse my English.
You may use the program ZSIM free of charge. This software may only be
duplicated and used for personal, non-commercial use. The software may
not be sold for profit. You may modify and improve those parts of the
program where the sources are included. But the executable program
must show my copyright message and a message that it has been
modified. Please include notes of your changes.
You may freely copy, distribute and use this program. If you like
ZSIM, a donation of $10 or any amount would be appreciated. Please
send a bill to the above address.
You want the sources of the Z80 Emulator, send a 50$ check to the
above address.
================
GETTING STARTED:
================
If you don't have a CP/M disc at hand you can test the Z80 emulator
anyway. Copy the files in the archive into a directory on your hard
disk. Format a 360K disc with CPMFRM.EXE. Type CPMFRM to get help. Be
sure that FORMAT.COM is in your PATH. The disc is only needed because
ZSIM requires a CP/M disc in the drive but it may be empty.
Then start ZSIM. It will load a CP/M compatible operating system from
CPMSYS.CPM (Superdos together with ZCPR) and if your PC has enough
memory (that is if CHKDSK shows at least 512000 free bytes) ZSIM loads
RAMDISC.CPM as ramdisc. If you want to boot from a real CP/M system
disc see in ZSIM.DOC for how to proceed.
=================
A SAMPLE SESSION:
=================
jgw 64K cp/m 80 bios ver 1.2 -- 12/01/92 (C) 1990,1992 by JÅrgen G. Weber
BDOS: SUPERDOS AND ZCPR1
A>dir
NO FILE
A>
A>b:
B>dir
ARGS .C : ARGS .DOC : ARGS .H : ARGS .OBJ
C80V .C : C80V-2 .C : CC .COM : CC .DOC
CLIBV .OBJ : CONVERT .COM : FLOAT .C : FLOAT .DOC
FLOAT .H : FLOAT .OBJ : IOLIB .C : IOLIB .DOC
IOLIB .H : IOLIB .OBJ : MAPTOSYM.BAS : MS2CPM .C
PRINTF .DOC : PRINTF1 .C : PRINTF1 .H : PRINTF1 .OBJ
PRINTF2 .C : PRINTF2 .H : PRINTF2 .OBJ : PROFILE .ASM
PROFILE .DOC : PROFILE .H : PROFILE .OBJ : TEST .C
TRANSCEN.C : TRANSCEN.DOC : TRANSCEN.H : TRANSCEN.OBJ
VDE .COM : ZLINK .COM : ZLINK .DOC : ZMAC .COM
ZMAC .DOC : ZMON .COM : PPIP .COM
B>
B>era c80*.c
B>cc ms2cpm
* * * Small-C V1.2 * * *
By Ron Cain and James Van Zandt
2 August 1984
MS2CPM.C
#include iolib.h
#end include
#include args.h
#end include
#include printf1.h
#end include
====== ms_getb()
====== main()
There were 0 errors in compilation.
B>zmac ms2cpm=ms2cpm
SSD RELOCATING (AND EVENTUALLY MACRO) Z80 ASSEMBLER VER 1.07
0 ERRORS
B>zlink ms2cpm=ms2cpm,iolib,args,printf1
SSD LINKAGE EDITOR VERSION 1.4
0 UNDEFINED SYMBOL(S).
B>dir ms2cpm.com
MS2CPM .COM
B>ppip a:=ms2cpm.com
COPYING:
B0:MS2CPM .COM to A0:MS2CPM .COM
B>
=====================
FILES IN THE ARCHIVE:
=====================
The following files should be in the archive:
MAKEFILE 996 12.01.92 18:03 | ZSIM's makefile
CONIO ASM 21993 09.01.92 22:02 | sources
PORTIO ASM 1200 11.12.91 20:00 | sources
CPMBIOS ASM 73436 12.01.92 16:53 | sources
DOS INC 6479 20.05.90 13:30 | sources
Z80EMU INC 678 11.12.91 18:13 | sources
ZBIOS INC 6273 31.12.91 14:35 | sources
ZSIM EXE 15086 12.01.92 18:01 | ZSIM compressed with LZEXE
SUPERDOS SYS 8704 14.01.92 20:56 | CP/M compatible Dos
Z80DOS SYS 8704 14.01.92 20:57 | CP/M compatible Dos
8080EMU OBJ 8304 12.01.92 16:34 | 8080 Emulator objects
Z80EMU OBJ 23623 12.01.92 16:34 | Z80 Emulator objects
EMUMENU OBJ 8591 12.01.92 16:42 | Modula2 objects
EMUMENU DEF 1737 12.01.92 16:41 | Modula2 sources
EMUMENU MOD 17215 12.01.92 16:41 | Modula2 sources
CPMSYS CPM 8704 11.01.92 23:28 | system image to boot from
RAMDISC CPM 385026 12.01.92 17:31 | a sample ramdisc
CPMFRM EXE 18144 06.10.90 0:37 | format CP/M disks
CPMFRM MOD 3579 06.10.90 0:36 | its sources
CHANGES JGW 1023 12.01.92 13:03 | changes in Z80DOS+ZCPR
OSBOURN PAR 22 16.12.91 10:41 | Discparm Osbourn DD
ZSIM DOC 28983 12.01.92 18:28 | docs english
ZSIMGER DOC 34234 12.01.92 18:07 | docs german
READ ME | the file you're reading
In RAMDISC.CPM is a sample ramdisc that contains Ron Cain's Small C
Compiler, the VDE editor and the PPIP file copy program.
8080EMU.OBJ contains a version of the cpu emulator that understands
only 8080 code but runs a bit faster as it needn't worry about some
of the Z80's intricacies.
If you want to use Z80DOS instead of SUPERDOS simply copy Z80DOS.SYS
to CPMSYS.CPM.
I got SUPERDOS, Z80DOS and ZCPR from the SIMTEL20 [192.88.110.20] ftp
server (directory PD2:<CPM.xxx> xxx=BDOS,ZCPR). It contains a lot of
other CP/M software too.
HAVE FUN using ZSIM!
JÅrgen G. Weber